<?
	$sess = new Zend_Session_Namespace(CLU_NS);
?>

<div class="box white_bg" style="margin-top:10px;width: 302px;">
<div class="chitiet_bar_right" style="width: 100%">&nbsp;&nbsp;<?=t(5002)?></div>
<?if(isset($this->viewParams['listArticle'])) :?>
	<?foreach($this->viewParams['listArticle'] as $a) :?>
		<div style="box_info_title textYellow">
			<a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'view-article-of-place'))?>?id=<?=$this->viewParams['place_id']?>&other_article_id=<?=$a['other_article_id'];?>">
					<?=$a['article_title']['title'];?>
					</a>
		<? if (strpos($sess->userPermissions, 'update place')) :?>
		(<a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'add-new-article'))?>?place_id=<?=$this->viewParams['place_id']?>&other_article_id=<?=$a['other_article_id'];?>&edit=1"><?=t(135)?></a>
			<a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'add-new-article'))?>?place_id=<?=$this->viewParams['place_id']?>&other_article_id=<?=$a['other_article_id'];?>&remove=1"><?=t(5006)?></a>
		)
		<?endif?>
		</div>
	<?endforeach?>
<?else :?>
<?=t(5003) ?><br/>
<a href="<?=$this->hvnUrl(array('module' => 'place', 'action' => 'add-new-article'))?>?place_id=<?=$this->viewParams['place_id']?>"><?=t(528)?></a>
<?endif?>
</div>